package edu.tms.bean;

import java.util.*;


public class Major {
	/**
	 * 专业id
	 */
	private Integer majorId;

	/**
	 * 专业名称
	 */
	private String majorName;

	/**
	 * 专业人数
	 */
	private Integer majorSize;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 专业类型 1：专科 2：本科
	 */
	private Integer majorType;

	/**
	 * 专业状态 1:正常 2:冻结
	 */
	private Integer majorState;


	public Major () {
		super();
	}

	public Major (Integer majorId,String majorName,Integer majorSize,Date createTime,Integer majorType,Integer majorState) {
		this.majorId = majorId;
		this.majorName = majorName;
		this.majorSize = majorSize;
		this.createTime = createTime;
		this.majorType = majorType;
		this.majorState = majorState;
	}

	public Integer getMajorId() {
		return this.majorId;
	}

	public void setMajorId(Integer majorId) {
		this.majorId = majorId;
	}

	public String getMajorName() {
		return this.majorName;
	}

	public void setMajorName(String majorName) {
		this.majorName = majorName;
	}

	public Integer getMajorSize() {
		return this.majorSize;
	}

	public void setMajorSize(Integer majorSize) {
		this.majorSize = majorSize;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getMajorType() {
		return this.majorType;
	}

	public void setMajorType(Integer majorType) {
		this.majorType = majorType;
	}

	public Integer getMajorState() {
		return this.majorState;
	}

	public void setMajorState(Integer majorState) {
		this.majorState = majorState;
	}

	@Override
	public String toString() {
		return "Major[majorId=" + majorId+ ", majorName=" + majorName + ", majorSize=" + majorSize + ", createTime=" + createTime + ", majorType=" + majorType + ", majorState=" + majorState + "]";
	}


}

